package com.xuantu.learn.ssh.model;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * User: ping
 * Date: 15-1-6
 * Time: 下午2:35
 */
@Table(name="t_sys_user")
@Getter
@Setter
@Entity
public class SysUser implements Serializable {

    @Id
    @Column
    private Integer id;

    @Column(name="user_code")
    private String userCode;
    @Column(name="user_name")
    private String userName;
    @Column(name="user_pwd")
    private String userPassword;
    @Column(name="last_login_time")
    private Date lastLoginTime;
    @Column(name="phone")
    private String phone;
    @Column(name="email")
    private String email;
    @Column(name="status")
    private String status;
    @Column(name="user_type")
    private String userType;
    @Column(name="create_time")
    private String createTime;
    @Column(name="remark")
    private String remark;


}
